package com.ericsson.epc.modules.sys.service.impl;

import com.ericsson.epc.modules.sys.entity.Dict;
import com.ericsson.epc.modules.sys.mapper.DictMapper;
import com.ericsson.epc.modules.sys.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("dictService")
public class DictServiceImpl implements DictService {
    @Autowired
    private DictMapper dictMapper;


    @Override
    public List<Dict> findDictList(String type) {
        return dictMapper.findList(type);
    }
}
